import java.util.Scanner;

public class Demo08 {
    public static void main(String[] args) {
        /**
         * if多分支
         */
        System.out.println("请输入money:");
        Scanner sc = new Scanner(System.in);
        int money = sc.nextInt();
        System.out.println("您输入的money为:"+money);

        if(money>10000){
            System.out.println("买苹果");
        }else if(money>7000){
            System.out.println("买华为");
        }
        else if(money>5000){
            System.out.println("买小米");
        }
        else if(money>3000){
            System.out.println("买诺基亚");
        }
        else{
            System.out.println("打公用电话");
        }
    }
}
